package cluedo;

public class Tile {

	private boolean walkable;
	private Room room;
	public final int x;
	public final int y;

	public Tile(boolean walkable, int x, int y) {
		this.walkable = walkable;
		this.x = x;
		this.y = y;
		room = null;
	}

	public Tile(boolean walkable, int x, int y, Room room) {
		this.walkable = walkable;
		this.room = room;
		this.x = x;
		this.y = y;
	}
	
	public boolean isWalkable() {
		return walkable;
	}

	public Room getRoom() {
		return room;
	}


}
